#!/bin/bash

#$ -V
#$ -cwd
#$ -N RC_power
#$ -t 1-20000
#$ -tc 100
#$ -l mem_free=250g,s_vmem=350g,h_vmem=450g
#$ -pe smp64 1
#$ -j y
#$ -o ~/Sex-specific-Price-Robertson-Covariances/Output/std_out


# std_out on Eddie: /exports/eddie/scratch/msamant/Va_simulations/b_Interim_files/std_out/
# std_out on AC3: /data/obbard/Va_simulations/analyses/b_Interim_files/std_out/


Param=`cat 000_parameter_grid_simulations.txt | awk "NR==$SGE_TASK_ID"`

Rscript 3_Simulations.R $Param
